.class Lcom/instagram/android/directshare/d/n;
.super Ljava/lang/Object;
.source "InboxPaginationHelper.java"

# interfaces
.implements Landroid/widget/AbsListView$OnScrollListener;
.implements Lcom/instagram/android/feed/a/a/b;
.implements Lcom/instagram/android/widget/v;


# instance fields
.field private a:Lcom/instagram/android/directshare/d/d;

.field private b:Lcom/instagram/android/feed/a/a/a;

.field private c:Z

.field private d:Z


# direct methods
.method constructor <init>(Lcom/instagram/android/directshare/d/d;)V
    .locals 1
    .parameter

    .prologue
    .line 21
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 22
    iput-object p1, p0, Lcom/instagram/android/directshare/d/n;->a:Lcom/instagram/android/directshare/d/d;

    .line 23
    new-instance v0, Lcom/instagram/android/feed/a/a/a;

    invoke-direct {v0, p0}, Lcom/instagram/android/feed/a/a/a;-><init>(Lcom/instagram/android/feed/a/a/b;)V

    iput-object v0, p0, Lcom/instagram/android/directshare/d/n;->b:Lcom/instagram/android/feed/a/a/a;

    .line 24
    return-void
.end method


# virtual methods
.method public a(Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 1
    .parameter

    .prologue
    .line 89
    const/4 v0, 0x0

    return-object v0
.end method

.method public a()V
    .locals 1

    .prologue
    .line 28
    iget-object v0, p0, Lcom/instagram/android/directshare/d/n;->a:Lcom/instagram/android/directshare/d/d;

    invoke-virtual {v0}, Lcom/instagram/android/directshare/d/d;->r()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/instagram/android/directshare/d/n;->c:Z

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/directshare/d/n;->i_()Z

    move-result v0

    if-nez v0, :cond_0

    invoke-static {}, Lcom/instagram/android/directshare/d/s;->a()Lcom/instagram/android/directshare/d/s;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/directshare/d/s;->d()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 33
    invoke-virtual {p0}, Lcom/instagram/android/directshare/d/n;->c()V

    .line 35
    :cond_0
    return-void
.end method

.method a(Z)V
    .locals 0
    .parameter

    .prologue
    .line 98
    iput-boolean p1, p0, Lcom/instagram/android/directshare/d/n;->c:Z

    .line 99
    return-void
.end method

.method public b()I
    .locals 1

    .prologue
    .line 39
    const/4 v0, 0x5

    return v0
.end method

.method b(Z)V
    .locals 0
    .parameter

    .prologue
    .line 102
    iput-boolean p1, p0, Lcom/instagram/android/directshare/d/n;->d:Z

    .line 103
    return-void
.end method

.method public c()V
    .locals 3

    .prologue
    .line 55
    iget-object v0, p0, Lcom/instagram/android/directshare/d/n;->a:Lcom/instagram/android/directshare/d/d;

    sget-object v1, Lcom/instagram/android/directshare/d/b;->a:Lcom/instagram/android/directshare/d/b;

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/instagram/android/directshare/d/d;->a(Lcom/instagram/android/directshare/d/b;Z)V

    .line 59
    return-void
.end method

.method public d()Z
    .locals 1

    .prologue
    .line 63
    const/4 v0, 0x1

    return v0
.end method

.method public e()Z
    .locals 1

    .prologue
    .line 68
    iget-boolean v0, p0, Lcom/instagram/android/directshare/d/n;->c:Z

    return v0
.end method

.method public f()Z
    .locals 1

    .prologue
    .line 73
    iget-object v0, p0, Lcom/instagram/android/directshare/d/n;->a:Lcom/instagram/android/directshare/d/d;

    invoke-virtual {v0}, Lcom/instagram/android/directshare/d/d;->X()Lcom/instagram/android/directshare/d/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/directshare/d/a;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public g()Z
    .locals 1

    .prologue
    .line 79
    const/4 v0, 0x0

    return v0
.end method

.method public h_()Z
    .locals 1

    .prologue
    .line 84
    const/4 v0, 0x0

    return v0
.end method

.method public i_()Z
    .locals 1

    .prologue
    .line 94
    iget-boolean v0, p0, Lcom/instagram/android/directshare/d/n;->d:Z

    return v0
.end method

.method public onScroll(Landroid/widget/AbsListView;III)V
    .locals 1
    .parameter "view"
    .parameter "firstVisibleItem"
    .parameter "visibleItemCount"
    .parameter "totalItemCount"

    .prologue
    .line 50
    iget-object v0, p0, Lcom/instagram/android/directshare/d/n;->b:Lcom/instagram/android/feed/a/a/a;

    invoke-virtual {v0, p1, p2, p3, p4}, Lcom/instagram/android/feed/a/a/a;->onScroll(Landroid/widget/AbsListView;III)V

    .line 51
    return-void
.end method

.method public onScrollStateChanged(Landroid/widget/AbsListView;I)V
    .locals 1
    .parameter "view"
    .parameter "scrollState"

    .prologue
    .line 44
    iget-object v0, p0, Lcom/instagram/android/directshare/d/n;->b:Lcom/instagram/android/feed/a/a/a;

    invoke-virtual {v0, p1, p2}, Lcom/instagram/android/feed/a/a/a;->onScrollStateChanged(Landroid/widget/AbsListView;I)V

    .line 45
    return-void
.end method
